#include <iostream>
#include <string>
#include <valarray>

#include "PL3_worker.h"

using std::cin;
using std::cout;
int main(int argc, char const *argv[])
{
     Waiter w1("Bob Apple",234,5);
     // w1.show();
     Singer w2("BBeverly Hills",237,3);
     // w2.show();
     Waiter w3;
     Singer s1;

     Worker *pw[4] = {&w3,&s1,&w1,&w2};
     
     for (int i = 0; i < 2; i++)
     {
          pw[i]->set();
     }

     for (int i = 0; i < 4; i++)
     {
          pw[i]->show();
     }
     
     return 0;
}
